import { Module } from '@nestjs/common';
import { MessageService } from './message.service';
import { MessageController } from './message.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { MessageEntity } from './message.entity';
import { MessageTemplateModule } from './message-template/message-template.module';

@Module({
	imports: [TypeOrmModule.forFeature([MessageEntity]), MessageTemplateModule],
  controllers: [MessageController],
  providers: [MessageService],
	exports: [MessageService, TypeOrmModule],
})
export class MessageModule {}
